package com.janlei.acc.proxy.aop;

import java.lang.reflect.Method;

/**
 * AOP动态代理
 */
public class AopStu {
}

class MyAspect {

    public void before() {
        System.out.println("before");
    }

    public void after() {
        System.out.println("after");
    }
}

interface InvocationHandler {

    void invoke(Object o, Method method);
}

class Proxy {

    public static Object newInstance(Class intfce, InvocationHandler h) {
        return null;
    }
}